package com.skynet.supervision.services.impl;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.skynet.supervision.aop.uac.UACUserContext;
import com.skynet.supervision.beans.vo.dept.DeptItemVo;
import com.skynet.supervision.dao.UserAccountMapper;
import com.skynet.supervision.entities.UserInfo;
import com.skynet.supervision.dao.UserInfosMapper;
import com.skynet.supervision.services.UserInfosService;
import com.skynet.supervision.utils.StringJtUtils;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
import java.util.stream.Collectors;

@Service
public class UserInfosServiceImpl implements UserInfosService {

    private final UserInfosMapper userInfosMapper;

    private final UserAccountMapper userAccountMapper;



    public UserInfosServiceImpl(UserInfosMapper userInfosMapper, UserAccountMapper userAccountMapper) {
        this.userInfosMapper = userInfosMapper;
        this.userAccountMapper = userAccountMapper;
    }


    @Override
    public UserInfo queryByUserId(String userId) {
        return this.userInfosMapper.queryByUserId(userId);
    }





}
